/*
 * Created: Author: Aléx Carvalho / Date: May 16, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-06-11 04:31:49 +0000 (Thu, 11 Jun 2015) $
 */
package com.cpm.view.zk.editors.indicator;

import com.cpm.entities.Indicator;
import com.cpm.view.EditorCallback;
import com.cpm.view.zk.editors.AbstractEditor;

public class IndicatorEditor extends AbstractEditor<Indicator> {

    private final IndicatorGeneralPane generalPane = new IndicatorGeneralPane();
    private final IndicatorTargetPane targetPane = new IndicatorTargetPane();
    
    public IndicatorEditor(Indicator source, EditorCallback<Indicator> editorCallback) {
        super(source, editorCallback);
        
        initComponents();
    }

    private void initComponents(){
        addPanel(generalPane);
        addPanel(targetPane);
    }
    

}
